Ext.namespace("Project.Main");

Project.Main = function(){
	
	var mainPanel = new Ext.TabPanel( {
		activeTab : 0,
		width : 950,
		border : false,
		renderTo : 'main',
		items : [ {
			title : '收集客户资料',
			autoHeight : true,
			items : [ new Draft().draftPanel ]
		},{
			title : '立项信息',
			autoHeight : true,
			items : [ new CreateInfo().createPanel ]
		},{
			title : '售前阶段',
			autoHeight : true,
			items : [ new BeforeSell().beforeSell ]
		},{
			title : '项目签约',
			autoHeight : true,
			items : [ new SignProject().spPanel ]
		},{
			title : '项目跟踪',
			autoHeight : true,
			items : [ new AfterSell().beforeSell ]
		},{
			title : '竣工项目',
			autoHeight : true,
			items : [ new ComplateProject().comPanel ]
		},{
			title : '未签约项目',
			autoHeight : true,
			items : [ new UnVise().uvPanel ]
		}]
	});
};
	
	Ext.onReady(function(){
		 Ext.QuickTips.init();
		 Ext.form.Field.prototype.msgTarget = 'side';
		 Ext.BLANK_IMAGE_URL = '../resources/images/default/s.gif';
		 new Project.Main();
	});